

<script type="text/javascript" src="netmarkets/javascript/ext/ext-all.js"></script>
<script type="text/javascript" src="core-ui/2.0/lib/jquery.min.js"></script>

<script type="text/javascript">
  		Ext.onReady(function(){
			var win = new Ext.Window({
				title: 'LovCombo',
				height: 200,
				width: 200,
				items: [{
					xtype: 'lovcombo',
					fieldLabel: '下拉多选',
					mode: 'local',
					triggerAction: 'all',
					store: new Ext.data.ArrayStore({
				        id: 0,
				        fields: [
				            'myId',
				            'displayText'
				        ],
				        data: [[1, 'item1'], [2, 'item2']]
				    }),
				    valueField: 'myId',
				    displayField: 'displayText'		
				}]
			}).show();
  		});
  	</script>
